package persistence;

import java.util.List;

import persistence.exception.DAOException;

public interface CostUnitDAO {
	CostUnit find(int id) throws DAOException;
	List<CostUnit> findAllByTitle(String title) throws DAOException;
	List<CostUnit> findAll() throws DAOException;
	List<CostUnit> findAllForLocation(LibraryLocation location) throws DAOException;
	void updateCostUnit(CostUnit costUnit) throws DAOException;
	CostUnit create() throws DAOException;
}
